package cn.itcast.bookmanager.dao;

import cn.itcast.bookmanager.model.User;
import cn.itcast.bookmanager.util.ToolUtils;
import com.mysql.jdbc.Connection;
import com.mysql.jdbc.PreparedStatement;

import java.sql.ResultSet;
public interface UserDao {
	
	public User login(Connection con,User user)throws Exception;
	
	public int addUser(Connection con,User user) throws Exception;
	
	
	public ResultSet list(Connection con,User user)throws Exception;
	
	public int update(Connection con,User user)throws Exception;
}
